package com.teacher.security.entity.security;

import com.teacher.security.entity.permission.MenuReturnVo;
import com.teacher.security.entity.permission.Permission;
import lombok.Data;

import java.util.List;

/**
 * @Author: zfm
 * @Date: 2019/11/15 14:59
 */
@Data
public class RedisUserInfo {

    /**
     * token
     */
    private String token;

    /**
     * menu
     */
    private List<MenuReturnVo> menuList;

    /**
     * permission's value
     */
    private List<String> permissionValue;

    private List<Permission> permissionList;

    /**
     * permission of root
     */
    private List<Permission> rootMenu;
    /**
     * menu
     */
    private List<Permission> allMenu;


}
